public class Event{
	private double duration;
	private Node node;
	private State state;
	private double relDuration;
	
	public void setRelDuration(double relDuration) {
		this.relDuration = relDuration;
	}

	public double getDuration() {
		return duration;
	}

	public Node getNode() {
		return node;
	}

	public State getState() {
		return state;
	}

	Event(double duration, double i, Node node, State state){
		this.duration = duration;
		this.relDuration = i;
		this.node = node;
		this.state = state;
	}

	public double getRelDuration() {
		return relDuration;
	}
}
